]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Stop using deprecated actor property
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Sep 2019 11:09:13 +0000 (13:09 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 20 Sep 2019 16:58:00 +0000 (16:58 +0000)
Commit 0c0d76f7d6990 made the class an actor subclass, so the actor
property is just a deprecated synonym of the object itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/736

js/gdm/loginDialog.js

index 76edcf44f3ecbe624e3e19cac63eac93ccca12f7..c3f90dc584c41bc4f17652e1b20c200a8003c8d1 100644 (file)
@@ -921,7 +921,7 @@ var LoginDialog = GObject.registerClass({
             return;
 
         this._bindOpacity();
-        this.actor.ease({
+        this.ease({
             opacity: 255,
             duration: _FADE_ANIMATION_TIME,
             mode: Clutter.AnimationMode.EASE_OUT_QUAD,
@@ -944,7 +944,7 @@ var LoginDialog = GObject.registerClass({
 
     _startSession(serviceName) {
         this._bindOpacity();
-        this.actor.ease({
+        this.ease({
             opacity: 0,
             duration: _FADE_ANIMATION_TIME,
             mode: Clutter.AnimationMode.EASE_OUT_QUAD,